.todo-wrap {
  position: relative;
  width: 500px;
  height: 500px;
  overflow: hidden;
  margin: 50px auto;
  border-radius: 3px;
  border: 1px solid;
}

.list-hd {
  position: relative;
  height: 44px;
  line-height: 44px;
  text-align: center;
  color: #ffffff;
  background-color: #474747;
}

.list-hd a {
  position: absolute;
  top: 0;
  right: 15px;
  color: #ffffff;
  font-size: 24px;
  font-style: normal;
  cursor: pointer;
}

.input-wrap {
  display: none;
  position: absolute;
  top: 44px;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 40px;
  background-color: #ffffff;
  border-bottom: 1px solid #dddddd;
}

.input-bd {
  position: absolute;
  top: 0;
  left: 0;
  width: 410px;
  height: 100%;
  padding: 5px 5px 5px 10px;
}

.btn-bd {
  margin-left: 410px;
  width: 90px;
  height: 100%;
  padding: 5px 10px 5px 5px;
}

.input-bd input,
.btn-bd button {
  width: 100%;
  height: 100%;
  border: 1px solid #aaa;
}

.btn-bd button {
  cursor: pointer;
  background-color: #ffffff;
}

.btn-bd button:hover {
  background-color: #eeeeee;
}

.list-wrap {
  height: 456px;
  overflow: auto;
}

.item {
  position: relative;
  height: 50px;
}


.item:nth-child(odd),
.item:hover {
  background-color: #eeeeee;
}

.item.active {
  background-color: #dff0d8;
}

.item .item-content {
  position: absolute;
  width: 390px;
  height: 100%;
  line-height: 50px;
  text-indent: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.item .btn-group {
  height: 100%;
  margin-left: 390px;
  line-height: 50px;
}

.item .btn-group a {
  color: green;
  margin-left: 10px;
}

.item .btn-group a.remove-btn {
  color: red;
}
